import request from '@/utils/request'

//  企业领导 -- 查询隐患复核列表
export function enterpriseLeaderQueryQuestion(params) {
  return request({
    url: '/business/defect/enterpriseLeader/queryQuestion',
    method: 'get',
    params
  })
}

//  获取隐患详情
export function enterpriseLeaderGetQuestionDetail(params) {
  return request({
    url: '/business/defect/enterpriseLeader/getQuestionDetail',
    method: 'get',
    params
  })
}

//  企业领导 -- 复核通过
export function enterpriseLeaderCheckOkQuestion(data) {
  return request({
    url: '/business/defect/enterpriseLeader/checkOkQuestion',
    method: 'post',
    data
  })
}

//  企业领导 -- 复核不通过
export function enterpriseLeaderCheckNoQuestion(data) {
  return request({
    url: '/business/defect/enterpriseLeader/checkNoQuestion',
    method: 'post',
    data
  })
}
